{% extends 'baes.html'%}
{% block style %}
	<style>
		h1{
			
			font-family: '楷体' !important; 
		}
		.mydiv{
			background-color: #eeeeee;
			width: 100vw !important;
			padding-left:20vw !important; 
            margin-bottom: 10px;
		}
		th{
			background: #eee;
		}
		.mybutton{
			margin-top:10px;
			margin-right: 10px;
			margin-bottom:10px;  
		}
	</style>
{% endblock %}
{% block content %}
<div class="container mydiv">
	<h1>修改课程信息</h1>
</div>
<div class="container">
    <form class="form-horizontal" role="form" method="post" action="/update_course/{{course.id}}">
        <div class="form-group">
            <label for="firstname" class="col-sm-2 control-label">名称:</label>
            <div class="col-sm-2">
            <input type="text" class="form-control" name="title" id="firstname" value="{{course.title}}">
            </div>
        </div>
        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">备注:</label>
            <div class="col-sm-6">
            <textarea type="text" class="form-control" name="abstract" id="lastname" placeholder="请输入备注">{{course.abstract}}</textarea>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary">提交</button>
            </div>
        </div>
    </form>

</div>




{% endblock %}